package com.hongminzheng.openapi.service;

import com.github.pagehelper.PageInfo;
import com.hongminzheng.openapi.pojo.Application;
import com.hongminzheng.openapi.pojo.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author hmz
 * @date2020/10/29 version V1.0
 **/
public interface CustomerService {

    int deleteByPrimaryKey(Integer id);

    int insert(Customer customer);

    int insertSelective(Customer customer);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer customer);

    int updateByPrimaryKey(Customer customer);

    /**
     * 分页
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<Customer> findPage(Integer pageNum, Integer pageSize, Customer customer);

}
